Basic example Enter your name, submit, and watch the url change.

Input type showcase









Neat attributes





Try not to fill a 'required' or enter an invalid 'pattern' value and click submit.


Info

The <label> tag is not required but more often than not it is useful to add.

If an <input> tag is not named (name="...") it won't be sent at all.

All inputs have a default style on all browsers, if you want to style theim yourself you will have to override the default padding, margin and border.


Receive a form in JS


x+y =